Skip to content

[#386] Rename PascalCase C identifiers to snake_case and add naming c…#387

Draft
rhusar wants to merge 1 commit into
modcluster:mainfrom
rhusar:386-fix-pascal-case
Draft

[#386] Rename PascalCase C identifiers to snake_case and add naming c…#387
rhusar wants to merge 1 commit into
modcluster:mainfrom
rhusar:386-fix-pascal-case

Conversation

@rhusar

@rhusar rhusar commented May 16, 2026

Copy link
Copy Markdown
Member

…onvention CI check

Lets fix this mess.

…d naming convention CI check

Signed-off-by: Radoslav Husar <radosoft@gmail.com>

@jajik jajik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!

The CI part needs some changes, and I would prefer it to be in a separate commit. Also, a note in README would be great.

(Also review-wise, maybe it would be better to merge this after JFC reviews #385.)

Comment thread .github/workflows/ci.yml
code=0
cd mod_proxy_cluster/native
for file in */*.c */*.h; do
output=$(clang-tidy --checks='-*,readability-identifier-naming' "$file" -- -I/usr/include/apache2 -I/usr/include/apr-1.0 2>&1 | grep 'warning:.*identifier naming' || true)

@jajik jajik May 18, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work. When clang-tidy encounters an error before finding anything, this will report OK without checking the file.

This also expects apache and apr installed, so maybe it should depend on some compilation job (see perl tests).

@rhusar rhusar added the hold label Jul 21, 2026
@rhusar
rhusar marked this pull request as draft July 21, 2026 13:56
@rhusar

rhusar commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

Making this a draft until we merge the refactor PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants